import request from '@/util/request'
import baseUrl from './base'

export function insertErpDistributor(data) {
  return request({
    url: baseUrl + '/erp/distributor/insert',
    method: 'post',
    data
  })
}

export function listErpDistributor(data) {
  return request({
    url: baseUrl + '/erp/distributor/list',
    method: 'post',
    data
  })
}

export function deleteErpDistributor(data) {
  return request({
    url: baseUrl + '/erp/distributor/delete',
    method: 'post',
    data
  })
}

export function getErpDistributor(data) {
  return request({
    url: baseUrl + '/erp/distributor/get',
    method: 'post',
    data
  })
}

export function updateErpDistributor(data) {
  return request({
    url: baseUrl + '/erp/distributor/update',
    method: 'post',
    data
  })
}

